<template>
  <div class="table-content">
    <el-table class="table-box" :data="records" stripe style="width: 80%" border>
      <el-table-column prop="product.brand" label="品牌" align="center" />
      <el-table-column prop="product.model" label="型号" align="center" />
      <el-table-column prop="product.count" label="数量" align="center" />
      <el-table-column
        prop="product.ram"
        label="运行内存"
        align="center"
        :filters="ram_filter"
        :filter-method="ram_filter_method"
      />
      <el-table-column prop="product.storage" label="存储容量" align="center" />
      <el-table-column prop="product.color" label="颜色" align="center" />
      <el-table-column prop="product.checkIMEI" label="串码" align="center" />
      <el-table-column prop="name" label="出售人" align="center" />
      <el-table-column prop="time" label="出售日期" align="center" />
    </el-table>
  </div>
</template>

<script>
export default {
  props: ['records'],
}
</script>

<style scoped>
.table-box {
  margin: 0 auto;
}
</style>
